<div style="width:600px; height:550px; margin-left:30px; background-color:#fff;">
  <div id="pages" style="padding:15px 20px 20px; width:560px;">
<?php if (is_array($orders) && count($orders) > 0) {
          foreach ($orders as $order) { ?>
    <div style="display: inline-block; margin-bottom: 10px; width: 100%;">
      <div class="fLeft" style="width:49%; margin-bottom:3px;"><b><?php __('Order ID:'); ?></b> #<?php e($order['Order']['id']); ?></div>
      <div class="fRight" style="width:49%; margin-bottom:3px; text-align:right;">
        <b><?php __('Status:'); ?></b> <?php e($status[$order['Order']['status']]); ?>
      </div>
      <div class="clear" style="background:#F7F7F7; border:1px solid #DDDDDD; width:100%;">
        <div style="padding: 5px;">
          <table width="100%">
            <tr>
              <td><?php __('Date Added:'); ?> <?php e($time->niceShort($order['Order']['created'])); ?></td>
              <td><?php __('Customer:'); ?> <?php e($order['Order']['name']); ?></td>
              <td rowspan="2">
                <a href="<?php e($this->base); ?>/orders/view/<?php echo $order['Order']['id']; ?>"><input type="button" value="<?php __('View'); ?>" /></a>
              </td>
            </tr>
            <tr>
              <td><?php __('Products:'); ?> <?php e(count($order['OrderProduct'])); ?></td>
              <td><?php __('Total:'); ?> <?php e($order['Order']['total']); ?></td>
            </tr>
          </table>
        </div>
      </div>
    </div>
<?php     } ?>
    <div class="fLeft"><?php
echo $paginator->counter(array(
    'format' => __('Showing %start% - %end% of %count% orders ', true)
));
?></div>
    <div class="fRight">
      <div class="paging" style="margin:5px 0 0;">
        <?php echo $paginator->prev('<< '.__('previous', true), array(), null, array('class'=>'disabled')); ?>
        <?php echo $paginator->numbers(); ?>
        <?php echo $paginator->next(__('next', true).' >>', array(), null, array('class'=>'disabled')); ?>
      </div>
    </div>
    <div class="clear"></div>
<?php     } else { ?>
    <div style="background:#F7F7F7; border:1px solid #DDDDDD; padding:10px; margin-bottom:10px;"><?php __('You have not made any previous orders!'); ?></div>
<?php } ?>
  </div>
</div>